
package org.apache.osgimaker.analyse.algorithm.classfile;

/**
 * Reference constant for a method.
 * 
 */
public class MethodRefConstant extends RefConstant {
  public MethodRefConstant(Constant[] pool, int classIndex,
                          int nameAndTypeIndex) {
    super(pool, classIndex, nameAndTypeIndex);
  }

  /** Returns constant type, class name, method name, and descriptor. */
  public String toString() {
    return toString("CONSTANT_MethodRef");
  }
} //class